Element Screenshot

Command Prototype

UiElement.ScreenShot(objUiElement,sFile,sMode,optionArgs)

Command Description

Capture an image of the specified element and save to the file system

Parameter Description
Required Parameter
objUiElement--Feature string of elements
sFile--The file location where the screenshot was saved
sMode--Modes to get the area to screenshot; when passed as content, get the position of the element content; when passed as padding, get the padding location of the element; when passed as border, get the border position of the element; when passed as margin, get the margin position of the element
Optional Parameter
bContinueOnError--Specify whether automation should continue if the activity throws an error. This field only supports Boolean values ​​(True, False). The default is False
iDelayAfter--The delay in milliseconds after the activity is executed. The default is 300 milliseconds
iDelayBefore--The delay in milliseconds before the activity starts any operation. The default is 200 milliseconds

results matching ""

    No results matching ""